﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ZK.Common;

namespace TransManage
{
    public partial class OracleLlBak : Form
    {
        public OracleLlBak()
        {
            InitializeComponent();
        }

        private void richTextBox1_TextChanged(object sender, EventArgs e)
        {

        }

        /// <summary>
        /// 保存配置
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ucBtnExcz_BtnClick(object sender, EventArgs e)
        {
            //Myconfig.myconfigValue.Account
            //
            {
                string strSql = File.ReadAllText(System.Environment.CurrentDirectory + @"\hddmysql\mysqlBakbak.bat", Encoding.UTF8);
                strSql = strSql.Replace("132465798", ucTextBoxEx1.InputText);
                File.WriteAllBytes(System.Environment.CurrentDirectory + @"\hddmysql\mysqlBak.bat", Encoding.UTF8.GetBytes(strSql));
            }
        }
    }
}
